// 导入父组件
import Layout from '@/layout'
export default {
    path: '/employees',
    component: Layout,
    children: [{
        path: '',
        component: () => import('@/views/employees'),
        meta: {
            title: '员工',
            icon: 'people'
        }
    },
    {
        path: 'detail',
        component: () => import('@/views/employees/detail.vue'),
        // 不需要显示在侧面 隐藏为true
        hidden: true,
        meta: {
            title: '员工详情',
        }
    }
    ]

}

// 